IceDust 2: Derived Bidirectional Relations and Calculation Strategy Composition

نویسندگان

  • Daco Harkes
  • Eelco Visser
چکیده

Derived values are values calculated from base values. They can be expressed with views in relational databases, or with expressions in incremental or reactive programming. However, relational views do not provide multiplicity bounds, and incremental and reactive programming require significant boilerplate code in order to encode bidirectional derived values. Moreover, the composition of various strategies for calculating derived values is either disallowed, or not checked for producing derived values which will be consistent with the derived values they depend upon. In this paper we present IceDust2, an extension of the declarative data modeling language IceDust with derived bidirectional relations with multiplicity bounds and support for statically checked composition of calculation strategies. Derived bidirectional relations, multiplicity bounds, and calculation strategies all influence runtime behavior of changes to data, leading to hundreds of possible behavior definitions. IceDust2 uses a product-line based code generator to avoid explicitly defining all possible combinations, making it easier to reason about correctness. The type system allows only sound composition of strategies and guarantees multiplicity bounds. Finally, our case studies validate the usability of IceDust2 in applications. 1998 ACM Subject Classification D.3.2 Data-flow languages

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

IceDust 2: Derived Bidirectional Relations and Calculation Strategy Composition (Artifact)

This artifact is based on IceDust2, a data modeling language with derived values. The provided package is designed to support the claims of the companion paper: in particular, it allows users to compile and run IceDust2 specifications. Instructions for building the IceDust2 compiler from source in Spoofax are also provided. 1998 ACM Subject Classification D.3.2 Data-flow languages

متن کامل

IceDust: Incremental and Eventual Computation of Derived Values in Persistent Object Graphs

Derived values are values calculated from base values. They can be expressed in object-oriented languages by means of getters calculating the derived value, and in relational or logic databases by means of (materialized) views. However, switching to a different calculation strategy (for example caching) in object-oriented programming requires invasive code changes, and the databases limit expre...

متن کامل

Calculation of MnO Activity in Aluminate Slags at Various Temperatures

In this research, the activity of MnO, produced during steel making in aluminate-rich slags, was investigated. According to thermodynamic equations and mathematical calculation, a series of relations was obtained for evaluation of oxide activity using Masson’s theory. The obtained relations were solved according to Levenberg- Marquardt method and using Matlab software. The results were correlat...

متن کامل

Calculation of the relativistic bulk tensor and shear tensor of relativistic accretion flows in the Kerr metric.

In this paper, we calculate the relativistic bulk tensor and shear tensor of the relativistic accretion ows in the Kerr metric, overall and without any approximation. We obtain the relations of all components of the relativistic bulk and shear tensor in terms of components of four-velocity and its derivatives, Christoffel symbols and metric components in the BLF. Then, these components are deri...

متن کامل

A Bidirectional DC-DC Convreter with Zero Voltage Switching Capability for Energy Storage Application

In this paper, a bidirectional DC-DC converter with high power density for energy storage application is proposed. The presented converter provides power transfer in both directions only with adjusting phase shift angle. Zero voltage switching (ZVS) in both turn on and turn off moments of all switches is the major capability of the converter that makes it suitable for high power applications. Z...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017